﻿using System;

namespace ML.Entity
{
    /// <summary>
    /// 订单详情实体
    /// </summary>
    public class OrderDetailsEntity
    {
        /// <summary>
        /// 主键
        /// </summary>		
        public string Id { get; set; } = Guid.NewGuid().ToString("N");

        /// <summary>
        /// 订单Id
        /// </summary>		
        public string OrderId { get; set; }

        /// <summary>
        /// 产品Id
        /// </summary>		
        public string ProductId { get; set; }

        /// <summary>
        /// 产品价格
        /// </summary>		
        public decimal ProductPrice { get; set; }

        /// <summary>
        /// 产品数量
        /// </summary>		
        public int ProductNumber { get; set; }
    }
}